//
//  teamViewController.m
//  pe_score
//
//  Created by zwz on 16/6/26.
//  Copyright © 2016年 zhangwz. All rights reserved.
//

#import "teamViewController.h"
#import "teamModel.h"

@interface teamViewController ()
@property(nonatomic,copy)NSArray * mydataarray;

@end

@implementation teamViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self getData];
    [self creatView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(void)getData
{
    //得到数据到         mydataarray
}

-(void)creatView
{
    teamModel *model=_mydataarray;
    self.teamName.text=model.teamName;
    self.city.text=model.city;
    self.maneger.text=model.manager;
    self.championNum.text=model.championNum;
    self.teamScore.text=model.teamScore;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
